package com.ibeeking.found.file.service.common.param;

import com.ibeeking.nematos.utils.base.BaseValidationGroup;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SourceSetParam {
    /**
     * 素材名称
     */
    @NotNull(message = "素材名称不能为空",groups = BaseValidationGroup.Insert.class)
    private String name;

    /**
     * 素材路径
     */
    @NotNull(message = "素材路径不能为空",groups = BaseValidationGroup.Insert.class)
    private String path;

    /**
     * 素材格式
     */
    @NotNull(message = "素材格式不能为空",groups = BaseValidationGroup.Insert.class)
    private String contentType;

    /**
     * 描述
     */
    private String remark;
}
